import request from '../util/request'
import {TypeLoginAPI} from '../type/api'
export function loginAPI(data: TypeLoginAPI) {
  return request.post('/users/login',{userName:data.userName,userPwd:data.password})
}